From: Kazuhiro Ito Date: Fri, 1 Jul 2011 11:03:55 +0000 (+0200) Subject: * coding.c (Fencode_coding_string): Record the last coding system X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~3200 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=46a36c8e35d105c9d5b4c700280563713923a7b3;p=emacs.git * coding.c (Fencode_coding_string): Record the last coding system used, as the function doc string says. --- diff --git a/src/ChangeLog b/src/ChangeLog index e2530bf69c4..516f7612535 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-07-01 Kazuhiro Ito (tiny patch) + + * coding.c (Fencode_coding_string): Record the last coding system + used, as the function doc string says (bug#8738). + 2011-07-01 Jan Djärv * xsettings.c (store_monospaced_changed): Take new font as arg and diff --git a/src/coding.c b/src/coding.c index 9939774ea82..65c8a767c2b 100644 --- a/src/coding.c +++ b/src/coding.c @@ -9000,7 +9000,7 @@ not fully specified.) */) (Lisp_Object string, Lisp_Object coding_system, Lisp_Object nocopy, Lisp_Object buffer) { return code_convert_string (string, coding_system, buffer, - 1, ! NILP (nocopy), 1); + 1, ! NILP (nocopy), 0); }